<!DOCTYPE html>
<html lang="zh_CN">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="/user/login" method="post">
    <!--必须叫username和password,否则security不能识别 -->
    用户名: <input type="text" name="username"> <br>
    密码: <input type="text" name="password"> <br>
    <input type="checkbox" name="remember-me" title="记住密码">自动登录<br>
    <input type="submit" value="登录">
</form>
<br>
<a href="/user/zc">没有账号?注册</a>
</body>
</html>